import { IsOptional, IsString, MaxLength } from 'class-validator';
import PaginationDto from '../../dtos/pagination.dto';

export class PageDto extends PaginationDto {
    
    @MaxLength(30)
    @IsString({})
    @IsOptional()
    nickname:string;
}